package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {
    /*购物车列表查询*/
    List<ShoppingCart> list();

    //添加购物车
    void addShoppingCart(ShoppingCartDTO shoppingCartDTO);

    //清楚购物车
    void clear();


    void subtraction(ShoppingCartDTO shoppingCartDTO);
}
